package com.shop.fegin;

import com.shop.fegin.entity.Company;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;


/**
 * @author yinxing
 * @date 2022-08-05
 */
@FeignClient(value = "COMPANY")
public interface CompanyClient {
    /**
     * 公司来访接口
     * @param company
     * @return
     */
    @RequestMapping("/visit")
    public String visit(Company company);

}
